package com.atguigu.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * 封装页面查询条件
 * catalog3Id=111&keyword=小米&sort=saleCount_asc
 **/
@Data
public class SearchParam {
    private String keyword;//关键字
    private Long catalog3Id;//三级分类id
    /**
     * sort=saleCount_asc/desc
     */
    private String sort;//排序条件
    private Integer hasStock;//是否有货 1-有，0-无
    private String skuPrice;//价格区间
    private List<Long> brandId;//品牌
    private List<String> attrs;//属性
    private Integer pageNum = 1;//页码

    /**
     * 原生所有查询属性
     */
    private String _queryString;

}
